<?php
namespace app\common\model;

class Label extends Base
{
    protected $name = 'label';

    public function getTypeAttr($val)
    {
        $type = [1 => '听客标签', 2 => '婚恋导师标签', 3 => '咨询师标签'];
        return $type[$val];
    }
}